package mrusanov.staff

import java.util.Date
import mrusanov.player.Talent
import mrusanov.bonus.AttendanceBonus
import mrusanov.team.Club

class PRManager(name: String, birthDay: Date, exp: Int, talent: Talent) extends ClubEmployee(name, birthDay, exp, talent) {
	val attendanceBonus = AttendanceBonus(this)
	override def isClubInfrastructureGoodEnough(club: Club) = true

	override def addToClubStaff(club: Club) {
		require(canBeAddedToClubStaff(club))
		club.clubStaff.prManager = Some(this)
	}

	override def canBeAddedToClubStaff(club: Club) = club.clubStaff.prManager.isEmpty

}
